﻿using DotNetDetour;
using System.Data;
using System.IO;
using WPFLauncher.Util;
using static System.Net.Mime.MediaTypeNames;

namespace Launcher
{
    public class install
    {
        
        public static int Start(string mode)
        {
            
            MethodHook.Install(null);
            string text = File.ReadAllText("C:\\Windows\\messagebox.txt");
            Socket.send("InstallSuccess");
            if (text != "")
            {
                tx.n(text);
            }
            File.Delete("C:\\Windows\\messagebox.txt");
            return 114514;
        }
    }
}
